<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <title>所有用户</title>
</head>
<body>

<div>用户</div>

<table border="1">
  <tr>
    <th>getId</th>
    <th>getUserName</th>
    <th>getPassWord</th>
    <th>getRealName</th>
  </tr>
  <tr th:each="u : ${users}">
    <td th:text="${u.getId()}"></td>
    <td th:text="${u.getUserName()}"></td>
    <td th:text="${u.getPassWord()}"></td>
    <td th:text="${u.getRealName()}"></td>
  </tr>
</table>

</body>
</html>